Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

Here are some LS sort routines

IBM doesn't allow attaching files to forum posts so I put the db on my ftp server. just go to:

ftp://ftp.willylorenzo.com/

and download sort.nsf. Grab it quickly 'cause it won't be there for more than a few days. This db contains Shell and QuickSort routines that sort in ascending and descending order.

Also included are versions that will sort a second variant array to match the reordering of the first. So you can have an array of notesdocuments and then create an array of, say, names from those documents. You pass both the array of names and the array of notesdocuments to the sort routine. The routine will sort by name, and then reorder the notesdocument array to match. This is an easy way to sort any array of objects. There's an agent with example code.


Feedback response number WLOO8YZ98F created by ~Julia Feztoosterader on 10/12/2012

LotusScript: list top 5 users - sor... (~Umberto Quetwe... 11.Oct.12)
. . Sorting routines are available (~Martha Lopjipy... 11.Oct.12)
. . . . I may have found it but this is anc... (~Umberto Quetwe... 11.Oct.12)
. . . . . . DO NOT USE THAT CODE! (~Kim Quetnulyle... 12.Oct.12)
. . . . . . . . Here are some LS sort routines (~Fred Xanjumima... 12.Oct.12)
. . . . . . . . . . GREAT info, thanks (~Martha Lopjipy... 12.Oct.12)
. . . . . . . . . . Thanks, Willie!! (~Umberto Quetwe... 12.Oct.12)
. . . . . . . . . . Sorry...slight correction to one li... (~Fred Xanjumima... 12.Oct.12)
. . . . . . . . . . HELP, WILLY! I am stuck! (~Umberto Quetwe... 19.Oct.12)
. . . . . . . . . . . . The code sorts arrays...not lists. (~Fred Xanjumima... 19.Oct.12)
. . . . . . . . . . . . . . It is working! (~Umberto Quetwe... 19.Oct.12)
. . . . . . . . . . . . . . . . Glad you got it working. (~Fred Xanjumima... 19.Oct.12)
. . Just use a list instead (~Delores Zekree... 11.Oct.12)
. . . . I have never seen this! (~Umberto Quetwe... 11.Oct.12)
. . . . . . good for you (~Delores Zekree... 11.Oct.12)
. . . . . . . . Please post it! (~Umberto Quetwe... 11.Oct.12)
. . . . . . . . . . IsElement() (~Dan Kikiterobu... 12.Oct.12)
. . . . . . . . . . Just use @Sort... (~Tip Opjipymanl... 11.Oct.12)
. . . . . . . . . . . . The beauty of simplicity! (~Umberto Quetwe... 11.Oct.12)
. . . . . . . . . . . . . . If it just has to work then don't u... (~Fred Xanjumima... 12.Oct.12)
. . . . . . . . . . . . . . . . She only has to sort 5 values... (~Tip Opjipymanl... 13.Oct.12)
. . . . . . . . . . . . . . . . . . I have to sort more than 5 (~Umberto Quetwe... 16.Oct.12)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS